.class public Lcom/example/m6shop/MarketTTypeActivity;
.super Landroid/app/Activity;
.source "MarketTTypeActivity.java"


# static fields
.field public static h:Landroid/os/Handler;

.field public static maketypeT:Lcom/example/m6shop/MarketTTypeActivity;


# instance fields
.field private gl:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/MarketTTypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private goodstypeid:Ljava/lang/String;

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field public message:Ljava/lang/String;

.field myLoginView:Landroid/view/View;

.field private nowtypeid:Ljava/lang/String;

.field private ordertype:Ljava/lang/String;

.field private tempgl:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/MarketTTypeBean;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 38
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 41
    const-string v0, "wait"

    iput-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->ordertype:Ljava/lang/String;

    .line 43
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->goodstypeid:Ljava/lang/String;

    .line 44
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->nowtypeid:Ljava/lang/String;

    .line 47
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->m:Lmyapp/MyApp;

    .line 49
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->message:Ljava/lang/String;

    .line 38
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/MarketTTypeActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 45
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6shop/MarketTTypeActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 42
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->gl:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6shop/MarketTTypeActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 42
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->tempgl:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6shop/MarketTTypeActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 43
    iput-object p1, p0, Lcom/example/m6shop/MarketTTypeActivity;->goodstypeid:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$4(Lcom/example/m6shop/MarketTTypeActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 41
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->ordertype:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6shop/MarketTTypeActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 44
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->nowtypeid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6shop/MarketTTypeActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 43
    iget-object v0, p0, Lcom/example/m6shop/MarketTTypeActivity;->goodstypeid:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public deletegoodstype()Z
    .locals 1

    .prologue
    .line 346
    new-instance v0, Lcom/example/m6shop/MarketTTypeActivity$5;

    invoke-direct {v0, p0}, Lcom/example/m6shop/MarketTTypeActivity$5;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    .line 421
    invoke-virtual {v0}, Lcom/example/m6shop/MarketTTypeActivity$5;->start()V

    .line 422
    const/4 v0, 0x0

    return v0
.end method

.method public getgoodstype()Z
    .locals 1

    .prologue
    .line 265
    new-instance v0, Lcom/example/m6shop/MarketTTypeActivity$4;

    invoke-direct {v0, p0}, Lcom/example/m6shop/MarketTTypeActivity$4;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    .line 341
    invoke-virtual {v0}, Lcom/example/m6shop/MarketTTypeActivity$4;->start()V

    .line 342
    const/4 v0, 0x0

    return v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 52
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 53
    const v4, 0x7f03005b

    invoke-virtual {p0, v4}, Lcom/example/m6shop/MarketTTypeActivity;->setContentView(I)V

    .line 54
    new-instance v4, Lmyapp/MyApp;

    invoke-direct {v4}, Lmyapp/MyApp;-><init>()V

    iput-object v4, p0, Lcom/example/m6shop/MarketTTypeActivity;->m:Lmyapp/MyApp;

    .line 55
    iput-object p0, p0, Lcom/example/m6shop/MarketTTypeActivity;->mcontext:Landroid/content/Context;

    .line 58
    invoke-virtual {p0}, Lcom/example/m6shop/MarketTTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    .line 59
    .local v2, "intent":Landroid/content/Intent;
    const-string v4, "typeid"

    invoke-virtual {v2, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, p0, Lcom/example/m6shop/MarketTTypeActivity;->nowtypeid:Ljava/lang/String;

    .line 60
    const-string v4, "typename"

    invoke-virtual {v2, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 62
    .local v3, "typename":Ljava/lang/String;
    sput-object p0, Lcom/example/m6shop/MarketTTypeActivity;->maketypeT:Lcom/example/m6shop/MarketTTypeActivity;

    .line 65
    const v4, 0x7f0700cb

    invoke-virtual {p0, v4}, Lcom/example/m6shop/MarketTTypeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 66
    .local v1, "back":Landroid/widget/ImageView;
    new-instance v4, Lcom/example/m6shop/MarketTTypeActivity$1;

    invoke-direct {v4, p0}, Lcom/example/m6shop/MarketTTypeActivity$1;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 78
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iput-object v4, p0, Lcom/example/m6shop/MarketTTypeActivity;->gl:Ljava/util/List;

    .line 79
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iput-object v4, p0, Lcom/example/m6shop/MarketTTypeActivity;->tempgl:Ljava/util/List;

    .line 81
    const v4, 0x7f070008

    invoke-virtual {p0, v4}, Lcom/example/m6shop/MarketTTypeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 83
    .local v0, "addgoodstypebtn":Landroid/widget/Button;
    new-instance v4, Lcom/example/m6shop/MarketTTypeActivity$2;

    invoke-direct {v4, p0}, Lcom/example/m6shop/MarketTTypeActivity$2;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 132
    new-instance v4, Lcom/example/m6shop/MarketTTypeActivity$3;

    invoke-direct {v4, p0}, Lcom/example/m6shop/MarketTTypeActivity$3;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    sput-object v4, Lcom/example/m6shop/MarketTTypeActivity;->h:Landroid/os/Handler;

    .line 260
    iget-object v4, p0, Lcom/example/m6shop/MarketTTypeActivity;->mcontext:Landroid/content/Context;

    const-string v5, "\u8bf7\u7a0d\u540e"

    const-string v6, "\u83b7\u53d6\u5546\u54c1\u5206\u7c7b"

    invoke-static {v4, v5, v6}, Lmyclass/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 261
    invoke-virtual {p0}, Lcom/example/m6shop/MarketTTypeActivity;->getgoodstype()Z

    .line 263
    return-void
.end method

.method public savegoodstype()Z
    .locals 1

    .prologue
    .line 429
    new-instance v0, Lcom/example/m6shop/MarketTTypeActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6shop/MarketTTypeActivity$6;-><init>(Lcom/example/m6shop/MarketTTypeActivity;)V

    .line 519
    invoke-virtual {v0}, Lcom/example/m6shop/MarketTTypeActivity$6;->start()V

    .line 520
    const/4 v0, 0x0

    return v0
.end method
